package visitor;/*
* @auther 顶风少年 
* @mail dfsn19970313@foxmail.com
* @date 2019-08-06 18:23
* @notify 
* @version 1.0
*/
public class NodeA extends Node {
    public void accept(Visitor visitor){
        visitor.visit(this);
    }

    public String operationA(){
        return "NodeA is visited";
    }
}
